
import request from '@/utils/request'

export function addContent(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/suggestion/update',
    method: 'post',
    data
  })
}

export function detailContent(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/suggestion/detail',
    method: 'get',
    params: data
  })
}
export function listContent(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/suggestion/list',
    method: 'get',
    params: data
  })
}
export function listAll() {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/menu/listAll',
    method: 'get'
  })
}
